<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="content">
		<h:form prependId="false">
			<p:commandButton image="back" ajax="false" immediate="true" style="margin-right:20px;" value="#{guichetsmsgs['navigation.back']}" action="/jsf/guichets/listGuichetss.xhtml"/>
		
			<p:panel header="#{guichetsmsgs['guichets.title']} Details" style="margin-top:10px">
				<p:messages />
				<h:panelGrid id="detail" columns="2" styleClass="grid" columnClasses="label,value">
						<h:outputText value="#{guichetsmsgs['guichets.guietablissement.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiEtablissement}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guiguichet.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiGuichet}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guipays.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiPays}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guidomiciliation.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiDomiciliation}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guiadresseprelevement.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiAdressePrelevement}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guicontactprelevement.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiContactPrelevement}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guichronotrace.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiChronoTrace}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guinomguichet.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiNomGuichet}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guicodenouvetablissement.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiCodeNouvEtablissement}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guinouvguichet.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiNouvGuichet}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guilocalitecompensation1.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiLocaliteCompensation1}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guilocalitecompensation2.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiLocaliteCompensation2}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guidebutvalidite.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiDebutValidite}"  converter="dateConverterForCalendar" />
						<h:outputText value="#{guichetsmsgs['guichets.guifinvalidite.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiFinValidite}"  converter="dateConverterForCalendar" />
						<h:outputText value="#{guichetsmsgs['guichets.guidisparition.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiDisparition}"  converter="dateConverterForCalendar" />
						<h:outputText value="#{guichetsmsgs['guichets.guinatureguichet.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiNatureGuichet}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guicodesituation.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiCodeSituation}"/>
						<h:outputText value="#{guichetsmsgs['guichets.guitiers.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.guiTiers}"/>
				</h:panelGrid>
			</p:panel>

			<p:panel header="#{guichetsmsgs['etablissementsbancaires.title']} Details" style="margin-top:10px">
				<p:messages />
				<h:panelGrid id="etablissementsBancaires" columns="2" styleClass="grid" columnClasses="label,value" rendered="#{GuichetsComponent.guichets.etablissementsBancaires != null}" >
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbpays.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbPays}"/>
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbetablissement.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbEtablissement}"/>
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdescription.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbDescription}"/>
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbcodesituation.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbCodeSituation}"/>
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdatedebutvalidite.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbDateDebutValidite}"  converter="dateConverterForCalendar" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdatefinvalidite.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbDateFinValidite}"  converter="dateConverterForCalendar" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdatedisparition.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbDateDisparition}"  converter="dateConverterForCalendar" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbcodeetablissnouveau.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbCodeEtablissNouveau}"/>
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etboptionidinvariant.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbOptionIdInvariant}"/>
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdateeffetidinvariant.title']}:" />
							<h:outputText value="#{GuichetsComponent.guichets.etablissementsBancaires.etbDateEffetIdInvariant}"  converter="dateConverterForCalendar" />
				</h:panelGrid>
				<h:panelGrid columns="2" styleClass="grid" columnClasses="label,value" rendered="#{GuichetsComponent.guichets.etablissementsBancaires != null}" >
					<p:commandButton image="edit" ajax="false" style="margin-right:20px;" value="#{guichetsmsgs['navigation.edit']}" action="#{GuichetsComponent.editGuichetsEtablissementsBancaires(GuichetsComponent.guichets.guiEtablissement, GuichetsComponent.guichets.guiGuichet, GuichetsComponent.guichets.guiPays, GuichetsComponent.guichets.etablissementsBancaires.etbPays, GuichetsComponent.guichets.etablissementsBancaires.etbEtablissement)}"/>
					<p:commandButton image="delete" ajax="false" style="margin-right:20px;" value="#{guichetsmsgs['navigation.delete']}" action="#{GuichetsComponent.confirmDeleteGuichetsEtablissementsBancaires(GuichetsComponent.guichets.guiEtablissement, GuichetsComponent.guichets.guiGuichet, GuichetsComponent.guichets.guiPays, GuichetsComponent.guichets.etablissementsBancaires.etbPays, GuichetsComponent.guichets.etablissementsBancaires.etbEtablissement)}"/>
				</h:panelGrid>
				<h:panelGrid columns="1" styleClass="grid" columnClasses="label,value" rendered="#{GuichetsComponent.guichets.etablissementsBancaires == null}" >
					<p:commandButton image="new" ajax="false" style="margin-right:20px;" value="#{guichetsmsgs['navigation.new']}" action="#{GuichetsComponent.newGuichetsEtablissementsBancaires(GuichetsComponent.guichets.guiEtablissement, GuichetsComponent.guichets.guiGuichet, GuichetsComponent.guichets.guiPays)}"/>
				</h:panelGrid>
			</p:panel>
		</h:form>
	</ui:define>
</ui:composition>